package com.sunny.design.facade;

import com.sunny.design.facade.registry.RegisterFacade;

/**
 * @author Sunny
 * @date 2020/3/5
 */
public class FacadeTest {
    public static void main(String[] args) {
        User user = new User();
        user.setUserName("Sunny");
        user.setPassword("123");

        RegisterFacade facade = new RegisterFacade(user);
        facade.register();
    }
}
